import { GET_MOVE_RECOMMONED } from '../types/home'

const home = (state = {}, action) => {
  const { data, type } = action
  switch (type) {
    case GET_MOVE_RECOMMONED:
      return { ...state, ...data };
    default:
      return state;
  }
}

export default home